home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
rtetc800.zip
/
UTILS800.ZIP
/
CHEM2SCN.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-11
|
315b
|
16 lines
@echo off
set name=%0
if "%1" == "" goto params
if not "%2" == "" goto params
if not exist %1 goto error1
sed "1,$s/[(),]/ /g" <%1|sort|awk -f chem2scn.awk|sort
goto end
:params
echo %name%: usage is "%name% {chem_file} [>scn_file]"
goto end
:error1
echo %name%: %1 not found
goto end
:end
set name=